.form_design_preview_wrap {
  @selectedColor: #f6f7ff;
  @lighterBlue: #409EFF;
  padding: 10px;
  background-color: #FFFFFF;
  height: 94%;
  overflow-y: scroll;
  .el-form-item__label {
    font-weight: 400;
    color: #000;

    &::before {
      content: "" !important;
    }
  }
  //form表单样式
	.formModal{
    padding-bottom: 20px
  }
  .required-span {
    display: none;
  }
	
  &.container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    // overflow-y: auto;
  }

  .components-list {
    padding: 8px;
    box-sizing: border-box;
    height: 100%;

    .components-item {
      display: inline-block;
      width: 48%;
      margin: 1%;
      transition: transform 0ms !important;
    }
  }

  .components-draggable {
    padding-bottom: 20px;
  }

  .components-title {
    font-size: 14px;
    color: #222;
    margin: 6px 2px;

    .svg-icon {
      color: #666;
      font-size: 18px;
    }
  }
  .qmLabel{
	  padding:20px 10px;
	  input{
		padding: 0 5px;
	   outline: none;
	   border: none;//去掉默认边框
	   }
  }
  .components-body {
    padding: 8px 10px;
    background: @selectedColor;
    font-size: 12px;
    cursor: move;
    border: 1px dashed @selectedColor;
    border-radius: 3px;

    .svg-icon {
      color: #777;
      font-size: 15px;
    }

    &:hover {
      border: 1px dashed #787be8;
      color: #787be8;

      .svg-icon {
        color: #787be8;
      }
    }
  }

  .left-board {
    width: 260px;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
  }

  .left-scrollbar {
    height: calc(100% - 42px);
    overflow: hidden;
  }

  .center-scrollbar {
    height: calc(100% - 42px);
    overflow: hidden;
    border-left: 1px solid #f1e8e8;
    border-right: 1px solid #f1e8e8;
    box-sizing: border-box;

    &>.el-scrollbar__wrap {
      &>.el-scrollbar__view {
        // height: 100%;
        min-height: 100%;
        display: grid;

        &>.center-board-row {
          height: 100%;

          .el-form {
            height: 100%;
          }
        }
      }
    }
  }

  .center-board {
    height: 100%;
    width: auto;
    margin: 0 350px 0 260px;
    box-sizing: border-box;
  }

  .empty-info {
    position: absolute;
    top: 46%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 18px;
    color: #ccb1ea;
    letter-spacing: 4px;
  }

  .action-bar {
    position: relative;
    height: 42px;
    text-align: right;
    padding: 0 15px;
    box-sizing: border-box;
    ;
    border: 1px solid #f1e8e8;
    border-top: none;
    border-left: none;

    .delete-btn {
      color: #F56C6C;
    }
  }

  .logo-wrapper {
    position: relative;
    height: 42px;
    background: #fff;
    border-bottom: 1px solid #f1e8e8;
    box-sizing: border-box;
  }

  .logo {
    position: absolute;
    left: 12px;
    top: 6px;
    line-height: 30px;
    color: #00afff;
    font-weight: 600;
    font-size: 17px;
    white-space: nowrap;

    >img {
      width: 30px;
      height: 30px;
      vertical-align: top;
    }

    .github {
      display: inline-block;
      vertical-align: sub;
      margin-left: 15px;

      >img {
        height: 22px;
      }
    }
  }

  .center-board-row {
    padding: 12px 12px 15px 12px;
    box-sizing: border-box;

    &>.el-form {
      // 69 = 12+15+42
      height: calc(100% - 69px);
    }
  }

  .drawing-board {
    height: 100%;
    position: relative;

    .components-body {
      padding: 0;
      margin: 0;
      font-size: 0;
    }

    .sortable-ghost {
      position: relative;
      display: block;
      overflow: hidden;

      &::before {
        content: " ";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 3px;
        background: rgb(89, 89, 223);
        z-index: 2;
      }
    }

    .components-item.sortable-ghost {
      width: 100%;
      // height: 60px;
      height: 4px;
      overflow: hidden;
      position: relative;
      background-color: @selectedColor;
      // TODO 此处使用了vue-form-making的样式
      // background: #409EFF;
      // // width: 50px;
      //     border: 2px solid #409EFF;
      //     outline-width: 0;
      //     height: 3px;
      //     box-sizing: border-box;
      //     font-size: 0;
      //     content: '';
      //     overflow: hidden;
      //     padding: 0;
    }

    .active-text {
      background: @selectedColor;
      border-radius: 6px;
    }

    .active-from-item {
      &>.el-form-item {
        background: @selectedColor;
        border-radius: 6px;
      }

      &>.drawing-item-copy,
      &>.drawing-item-delete {
        display: inline-block;
      }

      &>.component-name {
        color: @lighterBlue;
      }
    }

    .el-form-item {
      margin-bottom: 15px;
    }
  }

  .fengeItem {
    &.active-from-item {
      border-left: 5px solid #409eff;
      background: #b3d8ff;
    }
  }

  .devider {
    position: relative;
    text-align: center;

    .el-devider {
      display: inline-block;
      width: 100%;
      height: 1px;
      background: #dcdfe6;
      position: absolute;
      right: 0;
      left: 0;
      bottom: 0;
      top: 0;
      margin: auto;
    }

    .el-deviderTitle {
      padding: 5px;
      background: #FFFFFF;
      font-size: 14px;
      color: #333333;
      display: inline-block;
      box-sizing: border-box;
      position: relative;
      z-index: 10;
    }
  }

  .drawing-item {
    position: relative;
    cursor: move;
    // padding-bottom: 22px;
    padding: 15px 10px;

    &.unfocus-bordered:not(.active-from-item)>div:first-child {
      border: 1px dashed #ccc;
    }

    .el-form-item {
      padding: 12px 10px;
    }
  }

  .el-col {
    // float: none;
    // vertical-align: top;
  }
  .el-col-6{
    float: left;
  }
  // 清除浮动
  .clearFloat{
    clear: both;
  }
  // 左浮动
  .fl{
    float: left;
  }
  .drawing-row-item {
    position: relative;
    cursor: move;
    box-sizing: border-box;
    border: 1px dashed #ccc;
    border-radius: 3px;
    padding: 0 2px;
    margin-bottom: 15px;
    vertical-align: middle;

    .drawing-row-item {
      margin-bottom: 2px;
    }

    .el-col {
      // margin-top: 22px;
      // padding: 0;
    }

    .el-form-item {
      margin-bottom: 0;
    }

    .drag-wrapper {
      min-height: 50px;
      height: 100%;
      padding: 10px 0;
      // display: grid;
      // display: inline-grid;
      align-items: center;

      &.table_row_wrap {
        display: table;
      }
    }

    &.active-from-item {
      border: 1px dashed @lighterBlue;
    }

    .component-name {
      position: absolute;
      top: 0;
      left: 0;
      font-size: 12px;
      color: #bbb;
      display: inline-block;
      padding: 0 6px;
    }
  }

  .drawing-item,
  .drawing-row-item {
    &:hover {
      &>.el-form-item {
        background: @selectedColor;
        border-radius: 6px;
      }

      &>.drawing-item-copy,
      &>.drawing-item-delete {
        display: inline-block;
      }
    }

    &>.drawing-item-copy,
    &>.drawing-item-delete {
      display: none;
      position: absolute;
      top: -10px;
      width: 22px;
      height: 22px;
      line-height: 22px;
      text-align: center;
      border-radius: 50%;
      font-size: 12px;
      border: 1px solid;
      cursor: pointer;
      z-index: 1;
    }

    &>.drawing-item-copy {
      right: 56px;
      border-color: @lighterBlue;
      color: @lighterBlue;
      background: #fff;

      &:hover {
        background: @lighterBlue;
        color: #fff;
      }
    }

    &>.drawing-item-delete {
      right: 24px;
      border-color: #F56C6C;
      color: #F56C6C;
      background: #fff;

      &:hover {
        background: #F56C6C;
        color: #fff;
      }
    }
  }

  .design-table-wrap {
    // padding: 10px 0;
    border: 1px solid #409eff;
    position: relative;
    .design-table {
      border-collapse: collapse;
      border-color: #409eff;
      border-style: dashed;
      border-width: 1px;
      width: 100%;
      table-layout: fixed;

      td {
        height: 60px;
        min-height: 60px;
      }
    }

    .design-table-btn {
      position: absolute;
      right: 10px;
      top: 10px;

      .btn {
        display: inline-block;
        width: 22px;
        height: 22px;
        line-height: 22px;
        text-align: center;
        border-radius: 50%;
        font-size: 12px;
        border: 1px solid;
        cursor: pointer;
        z-index: 1;

        &.delete {
          border-color: #F56C6C;
          color: #F56C6C;
          background: #fff;

          &:hover {
            background: #F56C6C;
            color: #fff;
          }
        }

        &.add-row {
          border-color: #02c58d;
          color: #02c58d;
          background: #fff;

          &:hover {
            background: #02c58d;
            color: #fff;
          }
        }

        &.add-col {
          border-color: #560a86;
          color: #560a86;
          background: #fff;

          &:hover {
            background: #560a86;
            color: #fff;
          }
        }

        &.copy {
          border-color: @lighterBlue;
          color: @lighterBlue;
          background: #fff;

          &:hover {
            background: @lighterBlue;
            color: #fff;
          }
        }
      }
    }
  }

  .schedule-design-box {
    .drawing-board .components-item.sortable-ghost {
      width: 4px;
      // height: 60px;
      height: 100%;
      overflow: hidden;
      position: relative;
      background-color: @lighterBlue;
      display: block !important;
      z-index: 999;
      float: left;
    }

    .drawing-board .sortable-ghost {
      position: relative;
      display: block;
      overflow: hidden;

      &::before {
        content: " ";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: @lighterBlue;
        z-index: 2;
      }
    }
  }
}

.designer-table-box {
  width: 100%;
  border-collapse: collapse;
  border-width: 1px;
  border-color: #999;
  // height: 100%;
  table-layout: fixed;
  // tbody,
  // tr {
  //   height: 100%;
  // }
  border: 1px solid #999;
  .audit-component {
    border: none;
  }
  table,
  td,
  th {
    border: 1px solid #999;
  }

  td {
    border-color: #999;
    border-width: 1px;
    min-height: 36px;
    vertical-align: middle;
    padding: 6px;
	.el-col{
		p{
			margin: 0;
		}
	}
    // border-style: dashed;
    .el-form-item {
		// min-height:50px;
		// .el-textarea{
		// 	height: 100%;
		// }
		.el-input__inner {
			background-color:none;
		}
		.el-input.is-disabled .el-input__wrapper,.el-textarea.is-disabled .el-textarea__inner,.el-input.is-disabled .el-input__inner {
		    background-color:none;
		    border-color: #dfe4ed!important;
		    color: #C0C4CC;
		    cursor: not-allowed;
			box-sizing: border-box;
		}
		.el-input__wrapper,.el-textarea__inner,{
			background-color:none;
			// height: 100%;
		}
      margin-bottom: 0;

      input,
      textarea {
        
      }
    }
  }

  .designer-td-child-wrap {

    // min-height: 40px;
    // height: 100%;
    &>.van-col:last-child {
      .van-cell:last-of-type::after {
        display: none;
      }
    }
  }

  .el-col {
    padding: 0 !important;
  }
}

.schedule-wrap {
  box-shadow: 0px 0px 6px #999;
  margin: 8px;
  .schedule-title {
    height: 40px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f4f4f4;

    .title-wrap {
      font-size: 16px;

      .table-label {
        font-size: 12px;
        color: #bbb;
      }
    }

    .btn-wrap {
      font-size: 0;

      .title-btn {
        background-color: #fff;
        border-radius: 10px;
        border: 1px solid skyblue;
        width: 28px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;

        .iconfont {
          font-size: 16px;
        }
      }
    }
  }

  .table-wrap {
    .table-item {
      border: 1px solid #e0e0e0;
      margin: 4px 0;

      .sort-ope-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        height: 30px;

        .sort-wrap {
          font-size: 14px;
          // width: 16px;
          padding: 0 8px;
          height: 16px;
          background-color: #79afea;
          border-radius: 8px;
          text-align: center;
          line-height: 16px;
          color: #fff;
        }

        .ope-wrap {
          font-size: 0;

          * {
            font-size: 12px;
            color: #79afea;
          }

          .ope-a {
            margin-left: 10px;
          }
        }
      }
    }
  }

  .bottom-wrap {
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #248af9;
  }
}

.van-form {
  .required-span {
    color: #f00;
  }
}

.schedule-box {
  td {
    height: 33px;
    min-height: 33px;
    line-height: 33px;
    box-sizing: border-box;
    padding: 2px;
    word-break: break-all;

    input,
    textarea {
      background-color: none;
    }
  }

  &:hover .schedule-title .schedule-title-icon {
    display: block;
  }

  .schedule-title {
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    position: relative;

    .schedule-title-wrap {
      // font-size: 20px;
      text-align: center;
    }

    .schedule-title-icon {
      position: absolute;
      right: 10px;
      top: 5px;
      font-size: 0;
      display: none;

      .icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        font-size: 14px;
        color: #fff;
        text-align: center;
        line-height: 20px;
        cursor: pointer;
        margin-right: 10px;

        &:last-child {
          margin-right: 0;
        }

        &.add-icon {
          background-color: #02c58d;
        }

        &.delete-icon {
          background-color: #f00;
        }

        &.clear-icon {
          background-color: rgb(230, 162, 60);
          ;
        }
      }
    }
  }
}

.schedule-design-box {
  height: 200px;
  padding-left: 60px;
  position: relative;
  border: 1px solid #e0e0e0;

  .drawing-board {
    padding-right: 60px;
    // display: flex;
    min-width: 100%;
  }

  .sort-parent-wrap {
    width: 100%;
    overflow-x: auto;
    height: 100%;
    flex: 1;
  }

  // /deep/ {
  .schedule-item {
    float: left;
    width: 200px;
    border-right: 1px solid #e0e0e0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: #fff;
    padding: 0;
    flex: none;

    .drawing-item-copy,
    .drawing-item-delete {
      top: 0;
    }

    &.active {
      background: #f6f7ff;
      border-radius: 6px;

      &>.drawing-item-copy,
      &>.drawing-item-delete {
        display: inline-block;
      }

      &>.component-name {
        color: #409eff;
      }
    }

    .item-title {
      height: 30px;
      display: flex;
      align-items: center;
    }

    .item-content {
      flex: 1;
      border-top: 1px solid #e0e0e0;
      display: flex;
      align-items: center;
    }
  }

  // }
  .schedule-index {
    position: absolute;
    left: 0;
    width: 60px;
    top: 0;
    bottom: 0;
    min-width: 60px;

    .item-title {
      justify-content: center;
    }
  }
}
